SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65536: A WHERE expression on SAS® Scalable Performance Data Server (SPDS) tables in SAS® Enterprise Guide® fails with errors

DetailsHotfixAboutRate It

Applying a WHERE expression on SAS Scalable Performance Data Server (SPDS) tables in SAS Enterprise Guide might fail with the following error:

Unable to Apply WHERE Expression: Requested function is not supported

Here is an example of another error that might appear: 

Unable to Apply WHERE Expression: Record id is not in where statement history
2020-01-23 12:05:36,373 [1] DEBUG SAS.EG.DataAccess.DataModel.DataAccessor [(null)] - Attempting to open data set "CLASS4" with access flags "17" and options "OBS=10000 WHERE=(Name='Alfred')". 2020-01-23 12:05:37,376 [1] WARN  SAS.EG.DataAccess.DataModel.DataAccessor [(null)] - The following exception occurred attempting to open data set "CLASS4": System.Runtime.InteropServices.COMException (0x80041001): <?xml version="1.0" ?><Exceptions><Exception><SASMessage severity="Error">Record id is not in where statement history.</SASMessage></Exception></Exceptions> at SAS.EC.IntTechWrapper.WrapperManager.ProcessCallEnd(WrapperBase wrapper, String className, String methodName, TaskCompletionSource`1 workComplete, Exception exOriginal) at SAS.EC.IntTechWrapper.SAS.IDataSetClass.ReadRecords(Int32 Flags, Int32 BindKey, Array& PositionBookmark, Int32 NumberRowsToRead, Int32 RowsOffset, Array& CharacterValues, Array& NumericValues, Array& MissingNumericValues, Array& Bookmarks, Int32& Status)at SAS.EG.DataAccess.DataModel.DaForSasData.<OpenDataset>g__IsDataSPDSWithConstraints|72_0(ILibref libref, Int32 pSasAccessFlags, String tableName, String strDataSetOpenOptions, Array _arPasswords) at SAS.EG.DataAccess.DataModel.DaForSasData.OpenDataset()

As a workaround, you might instead use the SQL procedure on the same table in program code, or you might use the Query Builder in SAS Enterprise Guide.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x648.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise x648.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro 32-bit8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro x648.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise x648.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro x648.28.39.4 TS1M69.4 TS1M7
Microsoft Windows 108.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Datacenter8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Std8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Std8.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 20168.28.39.4 TS1M69.4 TS1M7
Microsoft Windows Server 20198.28.39.4 TS1M69.4 TS1M7
Windows 7 Enterprise 32 bit8.28.39.4 TS1M69.4 TS1M7
Windows 7 Enterprise x648.28.39.4 TS1M69.4 TS1M7
Windows 7 Home Premium 32 bit8.28.39.4 TS1M69.4 TS1M7
Windows 7 Home Premium x648.28.39.4 TS1M69.4 TS1M7
Windows 7 Professional 32 bit8.28.39.4 TS1M69.4 TS1M7
Windows 7 Professional x648.28.39.4 TS1M69.4 TS1M7
Windows 7 Ultimate 32 bit8.28.39.4 TS1M69.4 TS1M7
Windows 7 Ultimate x648.28.39.4 TS1M69.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.